﻿@*@if (Request.Cookies["mon_cookie"] != null) {
    <text>*@
@if (Session["session"] != null) {
    <text>
        Bonjour, 
        @using (Html.BeginForm("LogOff", "Account", FormMethod.Post, new { id = "logoutForm" })) {
            @Html.AntiForgeryToken()
            <a href="/Account/LogOff">Se déconnecter</a>
        }
    </text>
} else {
    <ul>
        <li>@Html.ActionLink("Se connecter", "Login", "Account", routeValues: null, htmlAttributes: new { id = "loginLink" })</li>
    </ul>
}
